package com.ruoyi.bbsAdmin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * cate对象 cate
 * 
 * @author ruoyi
 * @date 2022-04-11
 */
//@TableName(value = "cate")
@TableName(value = "bbs_cate")
public class Cate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 板块类目的编号 */
    private Integer cateid;

    /** 板块类目的名字 */
    @Excel(name = "板块类目的名字")
    private String catename;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String istop;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String coverimage;

    public void setCateid(Integer cateid) 
    {
        this.cateid = cateid;
    }

    public Integer getCateid() 
    {
        return cateid;
    }
    public void setCatename(String catename) 
    {
        this.catename = catename;
    }

    public String getCatename() 
    {
        return catename;
    }
    public void setIstop(String istop) 
    {
        this.istop = istop;
    }

    public String getIstop() 
    {
        return istop;
    }
    public void setCoverimage(String coverimage) 
    {
        this.coverimage = coverimage;
    }

    public String getCoverimage() 
    {
        return coverimage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cateid", getCateid())
            .append("catename", getCatename())
            .append("istop", getIstop())
            .append("coverimage", getCoverimage())
            .toString();
    }
}
